<div class="layui-side layui-bg-black " id="gloLeft">
    <div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree"  style="padding-top: 20px;">
            {if !empty($menu['child'])}
            {foreach $menu['child'] as $v}
            <li class="layui-nav-item ">
                {if empty($menus[$v]['child'])}
                <a href="javascript:;" data-url="{:url($menus[$v]['href_name'])}" data-index="{$v}" class="clickf" >
                    <i class="{$menus[$v]['style']}" aria-hidden="true"></i>
                    <cite>{$menus[$v]['node_name']}</cite>
                    <i class="left-icon layui-icon">&#xe602;</i>
                </a>
                {else}
                <a href="javascript:;"><i class="{$menus[$v]['style']}" aria-hidden="true"></i><cite>{$menus[$v]['node_name']}</cite></a>
                <dl class="layui-nav-child ">
                    {foreach $menus[$v]['child'] as $v1}
                    <dd>
                        {if empty($menus[$v1]['child'])}
                        <a href="javascript:;" data-url="{:url($menus[$v1]['href_name'])}" data-index="{$v1}" class="clickf" style="margin-Left:10px">
                            <i class="{$menus[$v1]['style']}" aria-hidden="true"></i>
                            <cite>{$menus[$v1]['node_name']}</cite><i class="left-icon layui-icon">&#xe602;</i>
                        </a>
                        {else}
                        <a href="javascript:;" style="margin-Left:5px"><i class="{$menus[$v1]['style']}" aria-hidden="true"></i><cite>{$menus[$v1]['node_name']}</cite></a>
                        <dl class="layui-nav-child ">
                            {foreach $menus[$v1]['child'] as $v2}
                            <dd>
                                <a href="javascript:;" data-url="{:url($menus[$v2]['href_name'])}" data-index="{$v2}"  class="clickf" style="margin-Left:20px">
                                    <i class="{$menus[$v2]['style']}" aria-hidden="true"></i>
                                    <cite>{$menus[$v2]['node_name']}</cite><i class="left-icon layui-icon">&#xe602;</i>
                                </a>
                            </dd>
                            {/foreach}
                        </dl>
                        {/if}
                    </dd>
                    {/foreach}
                </dl>
                {/if}
            </li>
            {/foreach}
            {/if}
        </ul>
    </div>
</div>